import type { Meta, StoryObj } from "@storybook/react";

import { CloseBtn } from "./common";

const meta = {
  title: "发起关闭作废取消关闭/发起按钮",
  component: CloseBtn as any,
  tags: ["autodocs"],
  argTypes: {},
} satisfies Meta<any>;

export default meta;
type Story = StoryObj<typeof meta>;

export const sup: Story = {
  args: {
    onClick: () => {
      console.log("first");
    },
    busType: 1,
  },
};
